//**************************************************************************************
// PhoneLog Generated Class File
//**************************************************************************************
//**** DO NOT CHANGE THIS FILE.  THE CONTENTS WILL BE OVERRIDEN ON NEXT MODEL SAVE. ****
//**************************************************************************************
using System;
using System.ComponentModel;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Validation;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
using DevExpress.Xpo;

namespace Liekhus.TimeTracker.Module
{
    [ImageName("PhoneLogs")]
    [CreatableItem(true)]
    [NavigationItem(true)]
    [DefaultListViewOptions()]
    [DefaultProperty("StartedOn")]
    public partial class PhoneLog : BaseObject
    {
        #region Constructor
        public PhoneLog() : base()
        {
        }

        public PhoneLog(Session session) : base(session)
        {
        }
        #endregion

        #region Properties
        private DateTime m_startedOn;
        public DateTime StartedOn
        {
            get { return m_startedOn; }
            set { SetPropertyValue("StartedOn", ref m_startedOn, value); }
        }

        private DateTime m_endedOn;
        public DateTime EndedOn
        {
            get { return m_endedOn; }
            set { SetPropertyValue("EndedOn", ref m_endedOn, value); }
        }

        private String m_comment;
        [Size(2500)]
        public String Comment
        {
            get { return m_comment; }
            set { SetPropertyValue("Comment", ref m_comment, value); }
        }

        private DateTime m_createdOn;
        public DateTime CreatedOn
        {
            get { return m_createdOn; }
            set { SetPropertyValue("CreatedOn", ref m_createdOn, value); }
        }

        #endregion
    }
}
